From: Claudio Cambra Date: Wed, 26 Feb 2025 02:33:06 +0000 (+0800) Subject: gui/macOS: Add tooltip explaining the "request sync" action in the File Provider... X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~2^2~13^2~1 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success/%22http:/www.example.com/cgi/success?a=commitdiff_plain;h=5cea713ab96ffac3529426a5c1b683af9f8fbe2a;p=nextcloud-desktop.git gui/macOS: Add tooltip explaining the "request sync" action in the File Provider settings Signed-off-by: Claudio Cambra --- diff --git a/src/gui/macOS/ui/FileProviderSyncStatus.qml b/src/gui/macOS/ui/FileProviderSyncStatus.qml index a02fe4401..60b138512 100644 --- a/src/gui/macOS/ui/FileProviderSyncStatus.qml +++ b/src/gui/macOS/ui/FileProviderSyncStatus.qml @@ -67,8 +67,15 @@ GridLayout { } Button { + id: requestSyncButton text: qsTr("Request sync") - onClicked: root.controller.signalFileProviderDomain(root.accountUserIdAtHost) visible: !root.syncStatus.syncing + hoverEnabled: true + onClicked: root.controller.signalFileProviderDomain(root.accountUserIdAtHost) + + ToolTip { + visible: requestSyncButton.hovered + text: qsTr("Request a sync of changes for the VFS environment. macOS may ignore or delay this request.") + } } } \ No newline at end of file